let setting = {};
setting.departmentList = [
    {label:"技术部", value:"1"},
    {label:"设计部", value:"2" },
    {label:"行政部", value:"3" },
]
// table字段
setting.columns = [
  {
    label: "项目编号",
    prop: "",
    width: 160
  },
  {
    label: "项目名",
    prop: "",
    width: 160
  },
  {
    label: "台数",
    prop: "",
    width: 160
  },
  {
    label: "整梯交货期",
    prop: "",
    width: 160
  },
  {
    label: "计划排产日期",
    prop: "",
    width: 160
  },
  {
      label: "计划发货日期",
      prop: "",
      width: 160
  },
  {
      label: "资料包",
      prop: "",
      width: 160,
      formatter: function (row, column) {
          switch (row.status) {
              case 0:
                  return '已分配'
                  break;
              case 1:
                  return '已下发'
                  break;
          }
      }
  }
];

setting.rules = {
  name: [{
    required: true,
    message: "请输入",
    trigger: "blur"
  }],
  b: [{
      required: true,
      message: "请输入",
      trigger: "blur"
  }],
  c: [{
      required: true,
      message: "请输入",
      trigger: "blur"
  }],
  d: [{
      required: true,
      message: "请输入",
      trigger: "blur"
  }]
};

export default setting;
